Skip to content

acceptance: add photon-false pipeline test#5434

Merged
denik merged 3 commits into
mainfrom
denik/photon-false
Jun 5, 2026
Merged

acceptance: add photon-false pipeline test#5434
denik merged 3 commits into
mainfrom
denik/photon-false

Conversation

@denik

@denik denik commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds an acceptance test for photon: false on a DLT pipeline, recording the HTTP requests made by both the terraform and direct deployment engines.
  • Documents a bug: when photon: false is explicitly set, the direct engine correctly includes "photon": false in the API request, but the terraform engine silently omits the field (treating false as the default and not sending it).
  • Mirrors the existing num-workers-zero test pattern.

Test plan

  • go test ./acceptance -run TestAccept/bundle/resources/pipelines/photon-false passes for both engine variants

This pull request was AI-assisted by Isaac.

Records what terraform and direct engines send when `photon: false` is
explicitly set on a pipeline. The direct engine correctly includes
`"photon": false` in the request; terraform omits it.

Co-authored-by: Isaac
@denik denik temporarily deployed to test-trigger-is June 4, 2026 09:41 — with GitHub Actions Inactive
@denik denik temporarily deployed to test-trigger-is June 4, 2026 09:41 — with GitHub Actions Inactive
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Commit: 93a53e1

Run: 26952763243

@denik denik temporarily deployed to test-trigger-is June 4, 2026 11:07 — with GitHub Actions Inactive
@denik denik temporarily deployed to test-trigger-is June 4, 2026 11:07 — with GitHub Actions Inactive
@denik denik temporarily deployed to test-trigger-is June 4, 2026 12:49 — with GitHub Actions Inactive
@denik denik temporarily deployed to test-trigger-is June 4, 2026 12:49 — with GitHub Actions Inactive
@denik denik added this pull request to the merge queue Jun 5, 2026
Merged via the queue into main with commit ee04cae Jun 5, 2026
25 checks passed
@denik denik deleted the denik/photon-false branch June 5, 2026 13:14
Chambras pushed a commit to Chambras/newDatabrickscli that referenced this pull request Jul 6, 2026
Extend databricks#5434 (`photon-false`) with `serverless: false` and `continous:
false`

The test now also dump `bundle.tf.json` when present, showing the CLI
writes the `false` value correctly — it is the Terraform provider that
drops it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants